package spring.cloud.tasks.tasks_manager.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Setter
@Getter
public class ZooKeeperTaskConfiguration {
    private String taskId;
    private String taskType;
    private String taskClass;
    private String description;
    //
    private Boolean enabled;
    //
    private String cronExpression;
    private String pauseDatePeriod;
    private String pauseTimePeriod;
    /**
     * 提前进行预分配时间:单位分钟
     */
    private Integer preAllotMinutes;
    //
    private Integer loadLevel;
    //
    private Integer taskItemTotalCount;
    private String taskItemParameters;
    private String taskParameter;
    //
    private String preferList;
    private Boolean useDisPreferList;

    //
    private Integer timeout4AlarmSeconds;
    private Integer timeoutSeconds;
    private Integer processCountIntervalSeconds;
    private Boolean showNormalLog;
    //

    private Boolean failover;
    private Boolean rerun;
}
